package com.singlemountaintech.haogongjiang.qfd.ui.main.delegate;

import android.support.v7.widget.Toolbar;
import android.widget.TextView;

import com.kymjs.frame.view.AppDelegate;
import com.singlemountaintech.haogongjiang.R;


/**
 * Created by LUOLI on 2017/3/14.
 */

public class TabMainDelegate extends AppDelegate{
    @Override
    public int getRootLayoutId() {
        return R.layout.fragment_tab_main;
    }

    @Override
    public void initWidget() {

        TextView textView = get(R.id.toolbar_title);
        textView.setText("今日");
    }

    @Override
    public Toolbar getToolbar() {
        return get(R.id.toolbar);
    }

}
